---
import Basic from "./index.astro";
import getAdvancement from "./utils/getAdvancement";

export interface Props {
  name: string;
  require?: string;
  version?: string;
}

const { name, version, require } = Astro.props;

const res = await getAdvancement(name, version, require);
---

<Basic {...res} />
